import traceback


def getTrace():
    # info = traceback.format_exc()
    # traceback.print_stack()

    e=traceback.format_stack()

    e=e[:-2]

    print("".join(e))
    # print(*e)
    # traceback.
    # print(info)
def call():
    getTrace()
def call2():
    call()
call()
call2()